home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13839 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  820 b 

  1. Path: dawn.mmm.com!news
  2. From: larvidson@mmm.com (Lee Arvidson)
  3. Newsgroups: comp.lang.c
  4. Subject: Q: How do you messure the time a program takes to run?
  5. Date: Wed, 10 Apr 1996 14:56:16 GMT
  6. Organization: MMM
  7. Message-ID: <4kgi70$6t4@dawn.mmm.com>
  8. Reply-To: larvidson@mmm.com
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Any suggestions on adding code to a C program to measure the time it
  12. takes to execute?  I am adding some additional logic to a C program
  13. that grabs data off a Sybase DB and processes the data. I would like
  14. to know, down to the millisecond, the additional time it takes the new
  15. program to run.  My program is running on a HP9000 box with HP-UX 9.?
  16.  
  17. Thank you, 
  18.  
  19. larvidson@mmm.com
  20. 3M
  21. St. Paul, MN, USA
  22.  
  23.  
  24. And now a word from Big Brother...
  25.  
  26. Opinions expressed herein are my own and may not represent those of 3M.
  27.